package com.hry.sunflower.pojo;

import java.util.Date;

public class BaseGps {
    /** 主键 */
    private Integer id;

    /** 用户邮箱 */
    private String email;

    /** 设备编号 */
    private String equipmentNum;

    /** 语句ID */
    private String agreement;

    /** UTC时间，hhmmss.sss格式 */
    private String utcTime;

    /** 状态，A=定位，V=未定位 */
    private String status;

    /** 纬度ddmm.mmmm，度分格式（前导位数不足则补0） */
    private Double lat;

    /** 纬度N（北纬）或S（南纬） */
    private String latitude;

    /** 经度dddmm.mmmm，度分格式（前导位数不足则补0） */
    private Double lng;

    /** 经度E（东经）或W（西经） */
    private String longitude;

    /** 速度，节 */
    private String speed;

    /** 方位角，度 */
    private Double azimuth;

    /** UTC日期，DDMMYY格式 */
    private String utcDate;

    /** 磁偏角，（000 - 180）度（前导位数不足则补0） */
    private String magneticDeclination;

    /** 校验值 */
    private String checkValue;

    /** 创建时间 */
    private Date createTime;

    /** 更新时间 */
    private Date updateTime;

    public BaseGps(Integer id, String email, String equipmentNum, String agreement, String utcTime, String status, Double lat, String latitude, Double lng, String longitude, String speed, Double azimuth, String utcDate, String magneticDeclination, String checkValue, Date createTime, Date updateTime) {
        this.id = id;
        this.email = email;
        this.equipmentNum = equipmentNum;
        this.agreement = agreement;
        this.utcTime = utcTime;
        this.status = status;
        this.lat = lat;
        this.latitude = latitude;
        this.lng = lng;
        this.longitude = longitude;
        this.speed = speed;
        this.azimuth = azimuth;
        this.utcDate = utcDate;
        this.magneticDeclination = magneticDeclination;
        this.checkValue = checkValue;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public BaseGps() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getEquipmentNum() {
        return equipmentNum;
    }

    public void setEquipmentNum(String equipmentNum) {
        this.equipmentNum = equipmentNum == null ? null : equipmentNum.trim();
    }

    public String getAgreement() {
        return agreement;
    }

    public void setAgreement(String agreement) {
        this.agreement = agreement == null ? null : agreement.trim();
    }

    public String getUtcTime() {
        return utcTime;
    }

    public void setUtcTime(String utcTime) {
        this.utcTime = utcTime == null ? null : utcTime.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Double getLat() {
        return lat;
    }

    public void setLat(Double lat) {
        this.lat = lat;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude == null ? null : latitude.trim();
    }

    public Double getLng() {
        return lng;
    }

    public void setLng(Double lng) {
        this.lng = lng;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude == null ? null : longitude.trim();
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed == null ? null : speed.trim();
    }

    public Double getAzimuth() {
        return azimuth;
    }

    public void setAzimuth(Double azimuth) {
        this.azimuth = azimuth;
    }

    public String getUtcDate() {
        return utcDate;
    }

    public void setUtcDate(String utcDate) {
        this.utcDate = utcDate;
    }

    public String getMagneticDeclination() {
        return magneticDeclination;
    }

    public void setMagneticDeclination(String magneticDeclination) {
        this.magneticDeclination = magneticDeclination == null ? null : magneticDeclination.trim();
    }

    public String getCheckValue() {
        return checkValue;
    }

    public void setCheckValue(String checkValue) {
        this.checkValue = checkValue == null ? null : checkValue.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}